/*
 * LoadCommand.h
 *
 *  Created on: Oct 14, 2008
 *      Author: Ryan
 */

#ifndef LOADCOMMAND_H_
#define LOADCOMMAND_H_

#include "Command.h"
#include "../Units/Unit.h"

namespace OOInterface
{

class LoadCommand: public OOInterface::Command
{
public:
	LoadCommand( ConstUnitPtr loadUnit ) : _loadUnit( loadUnit ) {}
	virtual ~LoadCommand() {}

	ConstUnitPtr getLoadUnit() const { return _loadUnit; }
	void setLoadUnit( ConstUnitPtr unit ) { _loadUnit = unit; }

	virtual std::string toString() const { return std::string("LoadCommand"); };
private:
	ConstUnitPtr _loadUnit;
};

}

#endif /* LOADCOMMAND_H_ */
